package com.qk.service;

import com.qk.PageResult;
import com.qk.entity.Activity;

import java.util.List;

public interface ActivityService {
    PageResult<Activity> listActivities(Activity activity);

    void deleteActivity(Integer id);

    Activity getActivityById(Integer id);

    void updateActivity(Activity activity);

    void addActivity(Activity activity);

    List<Activity> listActivitiesByType(Integer type);
}
